home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / clang / netclb23.zip / PRINT.H < prev    next >
C/C++ Source or Header  |  1994-05-20  |  2KB  |  61 lines

  1. #ifndef PRINT_H
  2. #define PRINT_H
  3.  
  4. /*****************************/
  5. /* Print Services prototypes */
  6. /*****************************/
  7.  
  8. typedef struct {
  9.    byte     Status;
  10.    byte     PrintFlags;
  11.    byte     TabSize;
  12.    byte     ServerPrinter;
  13.    byte     NumberCopies;
  14.    byte     FormType;
  15.    byte     Reserved1;
  16.    byte     BannerText[13];
  17.    byte     Reserved2;
  18.    byte     LocalLPTDevice;
  19.    nw_int   FlushTimeoutCounter;
  20.    byte     FlushOnClose;
  21.    nw_int   MaximumLines;
  22.    nw_int   MaximumChars;
  23.    byte     FormName[13];
  24.    byte     LPTFlag;
  25.    byte     FileFlag;
  26.    byte     TimeoutFlag;
  27.    nw_long  SetupBufferAddress;
  28.    nw_long  ResetBufferAddress;
  29.    byte     ConnectIdQPrintJob;
  30.    byte     InProgress;
  31.    byte     PrintQFlag;
  32.    byte     PrintJobValid;
  33.    nw_long  PrintQID;
  34.    nw_int   PrintJobNumber;
  35.    } PRINT_CONTROL_DATA;     /* Used in PRINT.C (Print Services) */
  36.  
  37. int CancelLPTCapture(void);
  38. int CancelSpecificLPTCapture(int prnNo);
  39. int EndLPTCapture(void);
  40. int EndSpecificLPTCapture(int prnNo);
  41. int FlushLPTCapture(void);
  42. int FlushSpecificLPTCapture(int prnNo);
  43. int GetBannerUserName(char *pointer);
  44. int GetLPTCaptureStatus(void);
  45. int GetDefaultLocalPrinter(void);
  46. int GetDefaultCaptureFlags(PRINT_CONTROL_DATA *reply);
  47. int GetPrinterStatus(int prnNo,
  48.                      byte *printerHalted,byte *printerOffline,
  49.                      byte *formType,byte *targetPrinterNumber);
  50. int GetSpecificCaptureFlags(int device,PRINT_CONTROL_DATA *reply);
  51. int SetBannerUserName(char *pointer);
  52. int SetCapturePrintQueue(int device,long queueID);
  53. int SetDefaultLocalPrinter(int device);
  54. int SetDefaultCaptureFlags(PRINT_CONTROL_DATA *flags);
  55. int SetSpecificCaptureFlags(int device,PRINT_CONTROL_DATA *flags);
  56. int SpecifyCaptureFile(int directoryHandle,char *filename);
  57. int StartLPTCapture(void);
  58. int StartSpecificLPTCapture(int device);
  59.  
  60. #endif
  61.